package game
{
	import com.gui.menu.GUIMenu;
	
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	
	public class GuiAssetsFactory extends Sprite implements IAssetsFactory
	{
		public function GuiAssetsFactory()
		{
			super();
		}

		public function getElement(id:String):DisplayObject
		{
			switch ( id )
			{
				case "GUIMenu":
					var obj:GUIMenu = new GUIMenu();
					return obj;
					break;
			}
			
			return null;
		}
	}
}